# 迭代器
list=['aaa','bbb','ccc']
it=iter(list)

while True:
    try:
        e=next(it)
        print(e)
    except StopIteration:
        break;